﻿package cgs.server.abtesting.messages
{
    import cgs.server.logging.*;
    import cgs.server.logging.messages.*;
    import com.adobe.serialization.json.*;

    public class TestStatusMessage extends Message
    {

        public function TestStatusMessage(param1:int, param2:int, param3:Boolean = true, param4:Object = null, param5:GameServerData = null)
        {
            var _loc_6:JSONEncoder = null;
            super(param5);
            addProperty("test_id", param1);
            addProperty("cond_id", param2);
            addProperty("start", param3 ? (1) : (0));
            if (param4 != null)
            {
                _loc_6 = new JSONEncoder(param4);
                addProperty("detail", _loc_6.getString());
            }
            return;
        }// end function

    }
}
